/* @(#)GSOrderDetailModifyVO.java   
 *
 * Project: GS
 *
 * Modify Information:
 * =============================================================================
 *   Author       Date       Description
 *   ------------ ---------- ---------------------------------------------------
 *   Jenny Li    2006-2-24     新增
 *
 * Copyright Notice:
 * =============================================================================
 *    Copyright (c) 2001-2006 Beijing HiTRUST Technology Co., Ltd. 1808 Room, 
 *        Science & Technology Building, No. 9 South Street, Zhong Guan Cun, 
 *        Haidian District, Beijing ,100081, China All rights reserved.
 *
 *    This software is the confidential and proprietary information of
 *        Beijing HiTRUST Technology Co., Ltd. ("Confidential Information").
 *        You shall not disclose such Confidential Information and shall use it
 *        only in accordance with the terms of the license agreement you entered
 *        into with HiTRUST.
 *
 * Warning:
 * =============================================================================
 * 
 */
package com.hitrust.gs.vo;

import java.sql.ResultSet;
import java.sql.SQLException;

import com.hitrust.gs.service.GSBaseBean;

/**
 * 
 */
public class GSOrderDetailModifyVO implements GSBaseBean{

    public String orderDetailId;
    public String orderCategory;
    public String providerId;
    public String providerName;
    public String modifyType;
    public String manufId;
    public String manufName;
    public String deliverGoodsId;
    public int deliverCounts;
    public String contactPerson;
    public String contactPhone;
    public String deliverDateDt;
    public String deleverExplain;
    public String orderDeptId;
    public String deliverGoodsAddrId;
    public String orderDetailStatus;
    public String concentricityId;
    public String manufInfo;
    public String manufType1;
    public String manufType2;
    public String manufType3;
    public String orderCreateDateEnd;
    public String orderCreateDateStr;
    public String isTradeFlatManuf;
    public String manufSpec;
    public String manufType;
    public String manufBrand;
    public double orderCount;
    public String quantUnit;
    public String orderDeptName;
    public double goodsUnitprice;
    public String deliverGoodsDate;
    public String deliverGoodsTime;
    public String orderId;
    public String isTradFlatProvider;
    public String drawingpiececode;
    
    public String lastModifyId;
    public String lastModifyContent;
    
    
    public String mode;
    
    public String sign;
    public Object process(ResultSet aResultSet) throws SQLException{
        GSOrderDetailModifyVO tOrderDtlModVO = new GSOrderDetailModifyVO();
        tOrderDtlModVO.orderDetailId = aResultSet.getString("P1").trim();
        tOrderDtlModVO.concentricityId = aResultSet.getString("P2").trim();
        tOrderDtlModVO.manufName = aResultSet.getString("P3").trim();
        tOrderDtlModVO.isTradeFlatManuf = aResultSet.getString("P4") ;
        tOrderDtlModVO.manufSpec = aResultSet.getString("P5") == null ? "" : aResultSet.getString("P5");
        tOrderDtlModVO.manufType = aResultSet.getString("P6") == null ? "" : aResultSet.getString("P6");
        tOrderDtlModVO.manufBrand = aResultSet.getString("P7") == null ? "" : aResultSet.getString("P7");
        tOrderDtlModVO.orderCount = aResultSet.getDouble("P8");
        tOrderDtlModVO.quantUnit = aResultSet.getString("P9") == null ? "" : aResultSet.getString("P9");
        tOrderDtlModVO.providerName = aResultSet.getString("P10").trim();
        tOrderDtlModVO.orderDeptName = aResultSet.getString("P11");
        tOrderDtlModVO.goodsUnitprice = aResultSet.getDouble("P12");
        tOrderDtlModVO.deliverGoodsDate = aResultSet.getString("P13") == null ? "" : aResultSet.getString("P13");
        tOrderDtlModVO.deliverGoodsTime = aResultSet.getString("P14") == null ? "" : aResultSet.getString("P14");
        tOrderDtlModVO.orderId = aResultSet.getString("P15");
        tOrderDtlModVO.providerId = aResultSet.getString("P16");
        tOrderDtlModVO.orderDetailStatus = aResultSet.getString("P17").trim();
        tOrderDtlModVO.isTradFlatProvider = aResultSet.getString("P18");
        tOrderDtlModVO.mode = aResultSet.getString("P19");
        tOrderDtlModVO.sign = aResultSet.getString("P20");
        tOrderDtlModVO.drawingpiececode = aResultSet.getString("DRAWING_PIECE_CODE");

        return tOrderDtlModVO;
    }
    
}
